package picturewolrd;

import java.lang.reflect.InvocationTargetException;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JFrame;
import javax.swing.SwingUtilities;

public class PictureWolrd {
    public static void main(String[] args) {
        try {
            JFrame.setDefaultLookAndFeelDecorated(true);
            SwingUtilities.invokeAndWait(new Runnable() {

                @Override
                public void run() {
                   Screen s = new Screen();
                   s.setVisible(true);
                }
            });
        } catch (InterruptedException ex) {
            Logger.getLogger(PictureWolrd.class.getName()).log(Level.SEVERE, null, ex);
        } catch (InvocationTargetException ex) {
            Logger.getLogger(PictureWolrd.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
